package cn.wolfcode.mapper;

import cn.wolfcode.domain.SystemDictionaryItem;
import cn.wolfcode.qo.QueryObject;
import cn.wolfcode.qo.SystemDictionaryItemQueryObject;

import java.util.List;

public interface SystemDictionaryItemMapper {
    int deleteByPrimaryKey(Long id);
    int insert(SystemDictionaryItem record);
    SystemDictionaryItem selectByPrimaryKey(Long id);
    List<SystemDictionaryItem> selectAll();
    int updateByPrimaryKey(SystemDictionaryItem record);

    List<SystemDictionaryItem> selectForList(QueryObject qo);

    List<SystemDictionaryItem> selectByParentSn(String sn);

    Integer[] selectByParentId(Long parentId);

    List<SystemDictionaryItem> selectBySystemDictionaryId(long systemDictionaryId);

}